using System.ComponentModel.DataAnnotations;

namespace BlazorApp1.Data;

public class UserInfo
{
    [Key]
    public string Id { get; set; } = default!;
    [Required]
    public string Name { get; set; } = default!;
    [Required]
    public string StudentId { get; set; } = default!;
    [Required]
    public string Class { get; set; } = default!;
    [Required]
    public string Phone { get; set; } = default!;
    public string? Remark { get; set; }
}